package com.wu;

import com.wu.controller.UserController;
import com.wu.entity.User;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class test1 {
    @Autowired
    UserController userController;
    @Test
    public void select(){
        for (User user : userController.queryUserList()) {
            System.out.println(user);
        }

    }

    @Test
    public void select1(){
        String name = "";
        if (name.isEmpty()){
            System.out.println("空");
        }

       // System.out.println(""+ad.isEmpty());
    }
}
